You can configure a route map match.
efa policy route-map-match create
Example:
efa policy route-map-match create --name rmap1 --rule "seq[1],action[permit]" --match-largecommunity-list lgcomm1 +----------------+---------+--------+ | Route Map Name | Seq num | Action | +----------------+---------+--------+ | rmap1 | 1 | permit | +----------------+---------+--------+ Route Map details +---------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+---------+--------+-----------------+ | 10.139.44.159 | Success | | | +---------------+---------+--------+-----------------+ Device Results
SLX# show running-config route-map route-map rmap1 permit 1 match large-community-list lgcomm1
efa policy route-map-match delete
Example:
efa policy route-map-match delete --name rmap1 --rule "seq[1],action[permit]" --match-largecommunity-list lgcomm1 +----------------+---------+--------+ | Route Map Name | Seq num | Action | +----------------+---------+--------+ | rmap1 | 1 | permit | +----------------+---------+--------+ Route Map details +---------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+---------+--------+-----------------+ | 10.139.44.159 | Success | | | +---------------+---------+--------+-----------------+ Device Results
SLX# show running-config route-map route-map rmap1 permit 1